package com.qf.blog.utils;

import java.util.UUID;

public class UUIDUtils {

    public static String getId(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    public static void main(String[] args) {
        String id1 = UUIDUtils.getId();
        String id2 = UUIDUtils.getId();
        String id3 = UUIDUtils.getId();
        System.out.println(id1);
        System.out.println(id2);
        System.out.println(id3);

    }
}
